package com.tensquare.spit.dao;

import com.tensquare.spit.pojo.Spit;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @BelongsProject: tensquare_parent
 * @BelongsPackage: com.tensquare.spit.dao
 * @Author: yang
 * @CreateTime: 2019-03-06 10:52
 * @Description: ${Description}
 */
public interface SpitDao extends MongoRepository<Spit,String> {

    public Page<Spit> findByParentid(String parentid, Pageable pageable);
}
